package com.cat.service.impl;

import com.cat.dao.CityDao;
import com.cat.pojo.City;
import com.cat.service.CityService;
import com.cat.util.LayUI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@Service
public class CityServiceImpl implements CityService {
    @Autowired
    private CityDao cityDao;

    @Override
    public List getAllcity() {
        return cityDao.getAllcity();
    }

    @Override
    public List getAllcity_next() {
        return cityDao.getAllcity_next();
    }
}
